LassoScript Utility
Basics Browse Detail

[Null->FreezeValue]

Tag Link [Null->FreezeValue] Category Tags
Type Member Source Available No
Support Preferred Version 5.0
Change Unchanged Data Source Any
Output Type None Security None
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0, Lasso 5.0

Description

[Null->FreezeValue] freezes the value for a data type. An error is thrown if a subsequent tag attempts to modify the value.

Member tags for Null can be used on values of any data type including custom, third party data types.

Syntax

[Value->FreezeValue]

Parameters

No Parameters Required.

Examples

To freeze the value of a variable:

Use the [Null->FreezeValue] tag. The following example shows how to freeze a variable so its value cannot be changed.

[Variable: 'theVariable'='Hello World']
[($theVariable)->FreezeValue]